package Pessoa;

public class Aluno extends Pessoas {


	public Aluno(int matricula){
	
	super(matricula);
	}
	
	private double Media;
    private double Np1;
    private double Np2;
    private int matricula;
    
	public int getMatricula() {
		return matricula;
	}

	public void setMatricula(int matricula) {
		this.matricula = matricula;
	}

	public double getMedia() {
		return Media;
	}

	public void setMedia(double media,int np1, int np2) {
		this.Media = media+(np1+np2)/2;
	}

	public double getNp1() {
		return Np1;
	}

	public void setNp1(double np1) {
		Np1 = np1;
	}

	public double getNp2() {
		return Np2;
	}

	public void setNp2(double np2) {
		Np2 = np2;
	}
	
		
		
		
	

}
